package com.znsd.dining.room.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @ClassName NoteProperties
 * @Description: TODO
 * @Author timi
 * @Date 2020/1/2
 * @Time 17:24
 * @Version V1.0
 **/
@Data
@Configuration
@PropertySource(value = "classpath:application.yml", ignoreResourceNotFound = true)
@ConfigurationProperties(prefix = "spring.node")
public class NodeProperties {
    private String nodeUrl = "http://utf8.api.smschinese.cn/";
    private String headerName = "Content-Type";
    private String headervalue = "application/x-www-form-urlencoded;charset=utf8";
    private String uid = "Uid";
    private String smsText = "smsText";
    private String key = "Key";
    private String smsMob = "smsMob";
    private String resourceFileNameUrl = "/nodeEoorStatusCode.properties";
    
}
